package cn.lm.demo02.domain;

public class Book {
    private int id;
    private String name;
    private String author;
    private Double price;

    public Book(int id,String name,String author,Double price){
        this.id=id;
        this.name=name;
        this.author=author;
        this.price=price;
    }

    public Book(){

    }

    public int getId(){
        return this.id;
    }

    public void setId(int id){
        this.id=id;
    }

    public String getName(){
        return this.name;
    }

    public void setName(String name){
        this.name=name;
    }

    public String getAuthor(){
        return this.author;
    }

    public void setAuthor(String author){
        this.author = author;
    }

    public Double getPrice(){
        return this.price;
    }

    public void setPrice(Double price){
        this.price=price;
    }


}
